package com.cratos.xxgramoss.group;

import com.cratos.xxgramoss.base.BaseBean;
import javax.persistence.Column;
import org.redkale.source.FilterBean;
import org.redkale.source.FilterColumn;
import org.redkale.source.FilterExpress;
import org.redkale.source.Range;
import org.redkale.util.Comment;

/**
 *
 * @author SquRab
 */
public class GroupDetailBean extends BaseBean implements FilterBean{
    
    @FilterColumn(express = FilterExpress.LIKE, comment = "群组名称")
    private String groupname;
    
    @Comment("创建人")
    private int createuserid;
    
    @Column(comment = "群类型 10 普通群 20 匿名群")
    private short grouptype;
    
    private  short status;
    
    protected Range.LongRange createtime;
    
    public Range.LongRange getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Range.LongRange createtime) {
        this.createtime = createtime;
    }
    
    public String getGroupname() {
        return groupname;
    }

    public void setGroupname(String groupname) {
        this.groupname = groupname;
    }
    
    public int getCreateuserid() {
        return createuserid;
    }

    public void setCreateuserid(int createuserid) {
        this.createuserid = createuserid;
    }
    
    public short getGrouptype() {
        return grouptype;
    }

    public void setGrouptype(short grouptype) {
        this.grouptype = grouptype;
    }
    
    public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }
}
